NuclearEngagement\Security\DataSanitizer S

Total Complexity 24
Dependencies 0
Dependents 0
Total lines 131
Lines of code 68
Logical lines of code 41
Comment lines 48
Methods 6
Properties 0

Methods 6

Method Rating Maintainability Complexity Lines of code
prepare_for_localize()
A
53 8 22
sanitize_for_js()
S
58 6 15
create_inline_var()
S
58 6 15
sanitize_html()
S
71 2 6
create_csp_nonce()
S
79 1 3
add_csp_header()
S
69 1 7